package com.newgrand.annexcommon.exception;

public class FileServerException extends RuntimeException {

    private static final long serialVersionUID = -5859175108278579988L;

    private int code;

    public FileServerException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    public FileServerException(int code, Exception cause) {
        super(cause);
        this.code = code;
    }

    public FileServerException(int code, String msg, Exception cause) {
        super(msg, cause);
        this.code = code;
    }

    public int getCode() {
        return code;
    }


}
